package com.suppor.rpc.register;

import com.suppor.rpc.core.register.RegisterInfo;

public interface RegisterService {
    boolean register(RegisterInfo info) throws Exception;

    boolean unRegister(RegisterInfo info) throws Exception;

    RegisterInfo discovery(String serviceName, String version, int hashCode) throws Exception;

    boolean destroy() throws Exception;
}
